<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Models\FlightModel;

class Flight extends Controller
{
    /**
     * 获取所有得航班信息
     *
     * @return int
     */
    public function index(){
        $flights = App\Models\FlightModel::all();
        dd($flights);
    }
}
